<!DOCTYPE html>
<!--主页面-->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:include="frame/fm/res :: header">
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>桃李舞苑</title>
</head>

<body>

<div class="preloader-it">
    <div class="la-anim-1"></div>
</div>

<div class="wrapper box-layout theme-6-active pimary-color-pink">
    <!--头部模块-->
    <nav class="navbar navbar-inverse navbar-fixed-top">
        <div class="mobile-only-brand pull-left" id="headSearch">
        </div>
        <div id="mobile_only_nav" class="mobile-only-nav pull-right">
            <ul class="nav navbar-right top-nav pull-right" id="headBar">
            </ul>
        </div>
    </nav>
    <!--左边菜单模块-->
    <div class="fixed-sidebar-left">
        <ul class="nav navbar-nav side-nav nicescroll-bar" id="leftMenus">
        </ul>
    </div>
    <!--页面主模块-->
    <div id="homeContent" class="page-wrapper" style="padding-top:60px">
    </div>
</div>

<div class="mask" style="display: none;"></div>
<span th:include="frame/fm/res :: webContext"></span>
<span th:include="frame/fm/res :: mainScript"></span>
<script>
//    window.onbeforeunload = function(event)
//    {
//            /*
//             监听页面或浏览器关闭，注销session
//             */
//            $.get(application.contextPath+'/frame/sessionDestroyed');
//    }
    $(function () {
        loadUtil = new Load($);
        loadUtil.load({
            container:'#leftMenus',
            url: application.contextPath+'/frame/leftMenu'
        });
        loadUtil.load({
            container:'#headSearch',
            url: application.contextPath+'/frame/headSearch'
        });
        loadUtil.load({
            container:'#headBar',
            url: application.contextPath+'/frame/headBar'
        });
        loadUtil.load({
            container:'#headBar',
            url: application.contextPath+'/frame/headBar'
        });
         loadUtil.load({
            container:'#homeContent',
            url: application.contextPath+'/frame/home'
        });

    })
</script>
<script type="text/javascript" th:src="${application.staticUrl}+'frame/tinymce/tinymce.min.js'"></script>
<script type="text/javascript" th:src="${application.staticUrl}+'frame/tinymce/langs/zh_CN.js'"></script>
<span th:include="frame/fm/res :: init"></span>
</body>

</html>
